package com.hsogoo.avatar.demo;

import com.hsogoo.avatar.model.AvatarRequest;
import com.hsogoo.avatar.model.AvatarResponse;

/**
 * @Author huangsaigang
 * Created @2018/10/2.
 */
public class DemoClient {

    public static void main(String[] args) {
        AvatarRequest request = new AvatarRequest();
        request.setRequestId("123456");
        request.setInterfaceName("className222");
        request.setMethodName("methodName222");
        AvatarResponse response = DemoConnector.sendRequest(request);
        System.out.println(response.getRequestId());
        System.out.println(response.getResult());
    }
}
